package com.deepexp.servicetest.net;

import com.deepexp.servicetest.entity.Account;

import org.json.JSONArray;
import org.json.JSONObject;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;

/**
 * Author xyh
 * create time 2021/2/4
 */
public interface ApiService {
    @Headers({"Content-Type: application/json", "Accept: application/json"})
    @GET("mysql")
    Call<List<Account>> getAccount();
}
